//package com.goti.nettyClient.Util;
//
//import com.goti.nettyClient.Listener.ConnectionListener;
//import com.goti.nettyClient.nettyClient.NettyClient;
//import io.netty.channel.Channel;
//import io.netty.channel.ChannelFuture;
//import io.netty.channel.ChannelOption;
//import io.netty.channel.EventLoopGroup;
//import io.netty.channel.nio.NioEventLoopGroup;
//import io.netty.channel.socket.nio.NioSocketChannel;
//
//public class ImConnection {
//    private Channel channel;
//
//    public Channel connect(String host, int port) {
//        doConnect();
//        return this.channel;
//    }
//
//    private void doConnect() {
//        try {
//
//            new NettyClient("127.0.0.1",8200).start();
//
//        } catch(Exception e) {
//            e.printStackTrace();
//        }
//    }
//
//}
